package com.mxnet.chongjin.nci.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.mxnet.chongjin.nci.R;

/**
 * author:chongjin
 * email:lcj270018655@163.com
 * date:2018/11/2
 * other:
 */

public class ItemStockCheckView extends LinearLayout {
    private TextView mTextView1, mTextView2, mTextView3;
    private EditText mEditText;
    private int mLayoutResID;

    public ItemStockCheckView(Context context, int layoutResID) {
        super(context);
        View inflate = LayoutInflater.from(context).inflate(layoutResID, this);
        mTextView1 = inflate.findViewById(R.id.textview_item_stock_check1);
        mTextView2 = inflate.findViewById(R.id.textview_item_stock_check2);
        mTextView3 = inflate.findViewById(R.id.textview_item_stock_check3);
        mEditText = inflate.findViewById(R.id.edittext_item_stock_check);
        mLayoutResID = layoutResID;
    }

    public TextView getTextView1() {
        return mTextView1;
    }

    public TextView getTextView2() {
        return mTextView2;
    }

    public TextView getTextView3() {
        return mTextView3;
    }

    public EditText getEditText() {
        return mEditText;
    }
}
